import BackToTop from "./BackToTop";
import Hamburger from "./Hamburger";
import SvgIcon from "./SvgIcon";
import Audio from "./Audio";
import FooterGuide from "./FooterGuide";
import TopBar from "./TopBar";
import NavBar from "./NavBar";
import Btn from "./Btn";

const components = {
    BackToTop,
    Hamburger,
    SvgIcon,
    FooterGuide,
    Audio,
    TopBar,
    NavBar,
    Btn,
};

export function install(Vue) {
    Object.keys(components).forEach(key => {
        Vue.component(key, components[key]);
    });
}

export default { ...components, install };
